Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 2 - 3D Viewer / 3D Viewer Reference
Constants


Viewer State Flags

The Q3ViewerGetState function returns a long integer that encodes information about the current state of a viewer object. Bits of the returned long integer are addressed using these viewer state flags:

enum {
   kQ3ViewerEmpty             = 0,
   kQ3ViewerHasModel          = 1
};
Constant descriptions

kQ3ViewerEmpty
If this flag is set, there is no image currently displayed by the specified viewer object.
kQ3ViewerHasModel
If this flag is set, there is an image currently displayed by the specified viewer object.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996